package com.sise.foodplatform.service;
import com.sise.foodplatform.pojo.Food;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FoodService {
    public List<Food> getAllFood(String foodName,int PageStart,int pageSize);
    public int getFoodCounts(String foodName);
    public int deleteFood(int id);
    public int addFood(Food food);
    public Food getUpdateFood(int id);
    public int editFood(Food food);
    public List<Food> getFoodByName(String uid,int PageStart,int pageSize);
    public int getCountsByName(String uid);
}
